package taskMgr;

import java.util.ArrayList;
import java.awt.*;

public class Manager 
{
	public ArrayList<Task> taskList = new ArrayList<Task>();
	
	public void update()
	{
		
	}
	
	public void addTask(Task t)
	{
		taskList.add(t);
	}
	
	public void removeTask(Task t)
	{
		taskList.remove(t);
	}
	
	public Task getTask()
	{
		return null;
	}
	
	public void draw(Graphics g)
	{
		for(Task t:taskList)
		{
			t.draw(g);
		}
	}
}